package com.gb.models.user.service;

import com.gb.models.user.dao.SysRoleDao;
import com.gb.models.user.model.SysRoleEntity;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysRoleService {

	@Resource
	private SysRoleDao sysRoleDao;
	
	public List<SysRoleEntity> queryListByUserId(Long userId){
		return sysRoleDao.queryListByUserId(userId);
	}
	

}
